Builder
A builder of MouseEventParams.
Builders are created by invoking newBuilder. Each of the setter methods modifies the state of the builder and returns the same instance. Builders are not thread-safe and should not be used concurrently from multiple threads without external synchronization.
Functions
Link copied to clipboard
Returns a new MouseEventParams instance built from the current state of this builder.
Link copied to clipboard
Sets the mouse button that triggered the event.
Link copied to clipboard
Sets the count of consecutive clicks that happened in a short amount of time for mouse events.
Link copied to clipboard
Sets the location of the mouse cursor in the component's coordinate system at the time the event occurred.
Link copied to clipboard
Sets the location of the mouse cursor in the screen's coordinate system at the time the event occurred.
Link copied to clipboard
Sets the DOM UI event parameters with the key modifiers.